<?php

namespace Database\Seeders;

use App\Models\Special;
use Illuminate\Database\Seeder;

class SpecialSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        foreach (range(1, 10) as $value) {
            Special::query()->create([
                'title' => '测试专题 '.$value,
                'picture' => DownloadImage::putImage(),
                'index' => $value,
            ]);
        }
    }
}
